/**
 * @projectName yudao
 * @package cn.iocoder.yudao.module.demo.controller.app
 * @className cn.iocoder.yudao.module.demo.controller.app.AppDemoTestController
 * @copyright Copyright 2020 Thunisoft, Inc All rights reserved.
 */
package cn.iocoder.yudao.module.demo.controller.app;

import static cn.iocoder.yudao.framework.common.pojo.CommonResult.success;

import cn.iocoder.yudao.framework.common.pojo.CommonResult;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description 测试
 * @author Swain
 * @date 2023/6/5 14:12
 */
@Tag(name = "用户 App - Test")
@RestController
@RequestMapping("/demo/test")
@Validated
public class AppDemoTestController {

    @GetMapping("/get")
    @Operation(summary = "获取 test 信息")
    public CommonResult<String> get() {
        return success("true");
    }
}
 